package com.zly.bscloud.entity;

import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * @Author zhouxiaoyu
 * @Date 2020/3/8 15:32
 * @Version 1.0
 */
@Data
@Table(name = "user")
public class User implements Serializable {
    @Id
    @KeySql(useGeneratedKeys = true)
    private String id;
    private String username;
    private String nickname;
    private String telephone;
    private String password;
    private String headphoto;
    private String regtime;
    private Integer sex;
    private String location;
    private String type;
}
